#!/bin/bash

CUR_DIR=$(cd `dirname $0`; pwd)
ROOT_DIR=$(dirname $CUR_DIR)

FD_DIR=/mnt/e/AnlogicSDK/Software/LinuxBuild/FutureDynasty
REPO_DIR=$ROOT_DIR/repositories/com.anlogic.sdk.repository/target/repository

rm $FD_DIR/eclipse/plugins/com.anlogic.sdk*
rm $FD_DIR/eclipse/plugins/ilg.gnumcueclipse.managedbuild.cross*
rm $FD_DIR/eclipse/plugins/ilg.gnumcueclipse.debug.gdbjtag.openocd*

cp $REPO_DIR/plugins/* $FD_DIR/eclipse/plugins/
